13c0ebbfdee46d3bc7ba6d786b7b58ef5776dbeb,legacy/src/main/java/org/pentaho/amazon/s3/S3FileOutputDialog.java,S3FileOutputDialog,getData,#,1341
Before Change
wEnclosure.setText( input.getEnclosure() );
}
if ( input.getFileFormat() != null ) {
wFormat.setText( input.getFileFormat() );
}
if ( input.getFileCompression() != null ) {
wCompression.setText( input.getFileCompression() );
After Change
if ( input.getFileFormat() != null ) {
wFormat.select( 0 ); // default if not found: CR+LF
for ( int i = 0; i < TextFileOutputMeta.formatMapperLineTerminator.length; i++ ) {
if ( input.getFileFormat().equalsIgnoreCase( TextFileOutputMeta.formatMapperLineTerminator[i] ) ) {
wFormat.select( i );
}
}